@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}
// 问卷设计界面
.q_header{
  // border-bottom: 1px solid #F2F2F2;
  // border-left: 1px solid #F2F2F2;
  // border-right: 1px solid #F2F2F2;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin-bottom: 1px;
  margin-top: 1px;

  .q_caption {
    text-align: center;
    label {
      line-height: 48px;
    }
  }
  .q_explain {
    padding: 0px 24px 8px 24px;

    p {
      margin-top: 0;
      margin-bottom: 0;
    }
  }

  .q_subject {
    padding: 0px 24px 0px 24px;

    .sub_red {
      color: red;
      line-height: 48px;
    }
    .sub_name {
      font-size: 14px;
    }
  }

  .q_choose {
    margin: 0px 24px 0px 36px;
    line-height: 16px;

    .el-radio {
      .el-radio__label {
        font-size: 12px !important;
      }
    }

    .el-checkbox {
      .el-checkbox__label {
        font-size: 12px !important;
      }
    }

    .q_choose_fillback {
      color: #606297;
      font-size: 13px;
      line-height: 24px;
    }
  }

  .q_paragraph_explain {
    margin: 8px 28px 8px 36px;
    color: #C0C4CC;
    font-size: 12px;
  }

}
// 选中点击
.click_active {
  border: 2px red solid;
}
.btn_oper .el-button {
  padding:3px 8px 3px 8px;
}
// 模态框
.el-dialog__header {
  padding: 4px 4px 2px 12px;
  span {
    font-size: 14px;
    font-weight: bold;
  }
  .el-dialog__headerbtn {
    top: 10px;
  }
}
.el-dialog__body {
  padding: 8px 12px 8px 12px;
}
